package com.e3.basdoc.warehouse.client;

import com.e3.basdoc.warehouse.model.WarehouseModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class WarehouseRefDialog extends GFRefDialog<WarehouseModel> {

	@Override
	protected String getRefDialogTitle() {
		return WarehouseMessages.INSTANCE.title_warehouse_refdialog();
	}

	@Override
	protected TGFGridPanel<WarehouseModel> createGridPanel() {
		return new WarehouseGridPanel();
	}

	@Override
	protected TGFQueryDialog<WarehouseModel> createQueryDialog() {
		return new WarehouseQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return WarehouseMessages.INSTANCE.local_name();
	}

}
